<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <link rel="stylesheet" href="./css/basic.css" />
    <style>
      .container {
        width: 25%;
        height: 600px;
        background-color: pink;
        position: relative;
        left: 10px;
        top: 10px;
      }
      .item {
        width: 75px;
        height: 75px;
        background-color: orange;
        border-radius: 50%;
        position: absolute;
        margin: 10px 10px ;
      }
      .item:nth-child(2){
        background-color: red;
        left:50%;
        transform: translate(-50%);
      }
      .item:nth-child(3){
        background-color: aqua;
        right: 0;
      }
      .item:nth-child(4){
        background-color: red;
        top: 50%;
        transform: translate(0,-50%);
      }
      .item:nth-child(5){
        background-color: red;
        left: 50%;
        top: 50%;
        transform: translate(-50%,-50%);
      }
      .item:nth-child(6){
        background-color: red;
        right: 0;
        top: 50%;
        transform: translate(0,-50%);
      }
      .item:nth-child(7){
        background-color: red;
        bottom: 0;
      }
      .item:nth-child(8){
        background-color: red;
        left: 50%;
        bottom: 0%;
        transform: translate(-50%);
      }
      .item:nth-child(9){
        background-color: red;
        right: 0;
        bottom: 0;

      }
    </style>
  </head>
  <body>
    <div class="container">
      <div class="item"></div>
      <div class="item"></div>
      <div class="item"></div>
      <div class="item"></div>
      <div class="item"></div>
      <div class="item"></div>
      <div class="item"></div>
      <div class="item"></div>
      <div class="item"></div>
    </div>
  </body>
</html>
